<script setup lang="ts">
import { computed } from "vue";
import { useUserStore } from "@/stores/user";

const userStore = useUserStore();

const config = computed(() => {
	return {
		userInfo: userStore.user,
		userMenu: userStore.menu,
		isAdminUser: userStore.isAdminUser,
	};
});
</script>

<template>
	<GView :config="config"></GView>
</template>
